package com.test.reggieadmin.bean;

import java.util.List;

public class SetmealPageBean {

    /**
     * code : 200
     * msg : 操作成功
     * data : {"records":[{"id":"1564906743525261313","categoryId":"1562705893285400578","name":"商务套餐","price":66,"status":1,"code":null,"description":"","image":"de072819-ac95-466e-9bb8-82de91b5d94d.jpg","createTime":"2022-08-31 17:23:37","updateTime":"2022-08-31 17:23:37","createUser":"admin","updateUser":"admin","setmealDishes":null,"categoryName":"精品套餐"}],"total":1,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * map : {}
     */

    private int code;
    private String msg;
    private DataBean data;
    private MapBean map;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class DataBean {
        /**
         * records : [{"id":"1564906743525261313","categoryId":"1562705893285400578","name":"商务套餐","price":66,"status":1,"code":null,"description":"","image":"de072819-ac95-466e-9bb8-82de91b5d94d.jpg","createTime":"2022-08-31 17:23:37","updateTime":"2022-08-31 17:23:37","createUser":"admin","updateUser":"admin","setmealDishes":null,"categoryName":"精品套餐"}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean optimizeCountSql;
        private boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private boolean searchCount;
        private int pages;
        private List<RecordsBean> records;
        private List<?> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * id : 1564906743525261313
             * categoryId : 1562705893285400578
             * name : 商务套餐
             * price : 66.0
             * status : 1
             * code : null
             * description :
             * image : de072819-ac95-466e-9bb8-82de91b5d94d.jpg
             * createTime : 2022-08-31 17:23:37
             * updateTime : 2022-08-31 17:23:37
             * createUser : admin
             * updateUser : admin
             * setmealDishes : null
             * categoryName : 精品套餐
             */

            private String id;
            private String categoryId;
            private String name;
            private double price;
            private int status;
            private Object code;
            private String description;
            private String image;
            private String createTime;
            private String updateTime;
            private String createUser;
            private String updateUser;
            private Object setmealDishes;
            private String categoryName;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public Object getCode() {
                return code;
            }

            public void setCode(Object code) {
                this.code = code;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getCreateUser() {
                return createUser;
            }

            public void setCreateUser(String createUser) {
                this.createUser = createUser;
            }

            public String getUpdateUser() {
                return updateUser;
            }

            public void setUpdateUser(String updateUser) {
                this.updateUser = updateUser;
            }

            public Object getSetmealDishes() {
                return setmealDishes;
            }

            public void setSetmealDishes(Object setmealDishes) {
                this.setmealDishes = setmealDishes;
            }

            public String getCategoryName() {
                return categoryName;
            }

            public void setCategoryName(String categoryName) {
                this.categoryName = categoryName;
            }
        }
    }

    public static class MapBean {
    }
}
